package com.bsu.presentation.form;

import java.util.Date;
import java.util.List;

import org.apache.struts.action.ActionForm;

import com.bsu.bean.Blog;

public class BlogForm extends ActionForm{
	private int id;
	private String title;
	private String description;
	private Date createdAt;
	private int authorId;
	private Blog blogOne;
	private List<Blog> blogs;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getCreatedAt() {
		return createdAt;
	}
	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	public int getAuthorId() {
		return authorId;
	}
	public void setAuthorId(int authorId) {
		this.authorId = authorId;
	}
	public Blog getBlogOne() {
		return blogOne;
	}
	public void setBlogOne(Blog blogOne) {
		this.blogOne = blogOne;
	}
	public List<Blog> getBlogs() {
		return blogs;
	}
	public void setBlogs(List<Blog> blogs) {
		this.blogs = blogs;
	}
	
}
